package controller.Items;

import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.scene.control.Button;

public class request {
    private final SimpleStringProperty username;
    private final SimpleStringProperty birth;
    private final SimpleStringProperty address;
    private final SimpleStringProperty gender;
    private final SimpleStringProperty identity;
    public Button button = new Button("审核");
    public request(String u, String b, String a, String g, String i){
        username= new SimpleStringProperty(u);
        birth=new SimpleStringProperty(b);
        address=new SimpleStringProperty(a);
        gender=new SimpleStringProperty(g);
        identity=new SimpleStringProperty(i);

    }

    public Button getButton() {
        return button;
    }

    public String getUsername() {
        return username.get();
    }

    public SimpleStringProperty usernameProperty() {
        return username;
    }

    public void setUsername(String username) {
        this.username.set(username);
    }

    public String getBirth() {
        return birth.get();
    }

    public SimpleStringProperty birthProperty() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth.set(birth);
    }

    public String getAddress() {
        return address.get();
    }

    public SimpleStringProperty addressProperty() {
        return address;
    }

    public void setAddress(String address) {
        this.address.set(address);
    }

    public String getGender() {
        return gender.get();
    }

    public SimpleStringProperty genderProperty() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender.set(gender);
    }

    public String getIdentity() {
        return identity.get();
    }

    public SimpleStringProperty identityProperty() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity.set(identity);
    }
}
